package com.kede.service;

import com.kede.domain.SuppliesStoreDomain;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 11856
* @description 针对表【t_supplies_store(物资门店关联表)】的数据库操作Service
* @createDate 2023-06-07 11:25:38
*/
public interface SuppliesStoreService extends IService<SuppliesStoreDomain> {


    /**
     * 给门店的某个商品设置库存
     * @param storeId
     * @param supplieId
     * @param symbolnum 是有正负之分的
     */
    boolean setInvetory(Integer storeId,Integer supplieId, Integer symbolnum);

    /**
     * 获取某个门店某个物品的库存
     * @param storeId
     * @param supplieId
     * @return
     */
    int getInvetory(Integer storeId,Integer supplieId);

}
